extends MultiplayerSynchronizer



@export var dir := Vector2.ZERO

func _ready() -> void:
	set_process(get_multiplayer_authority() == multiplayer.get_unique_id())


func _process(_delta) -> void:
	dir = Input.get_vector("key_move_left", "key_move_right", "key_move_up", "key_move_down")
